package com.hxzy.service;

import com.github.pagehelper.PageInfo;
import com.hxzy.controller.admin.dicttype.req.DictTypeEditReq;
import com.hxzy.controller.admin.dicttype.req.DictTypeReq;
import com.hxzy.entity.SysDictType;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
* @author Administrator
* @description 针对表【sys_dict_type(字典类型表)】的数据库操作Service
* @createDate 2023-06-28 16:38:45
*/
public interface SysDictTypeService extends IService<SysDictType> {

    PageInfo<SysDictType> search(DictTypeReq req);

    List<Map<String, Object>> dataAll();

    /**
     * 逻辑删除
     * @param ids
     * @return
     */
    boolean delete(Long[] ids);

    /**
     * 修改
     * @param req
     * @return
     */
    boolean edit(DictTypeEditReq req);

    List<SysDictType> download(DictTypeReq req);
}
